<?php
	get_header();
?>
<div id="single_page_container">

    <div id="single_page_categories">
        <?php get_sidebar('primary')?>
    </div>
    
    <div id="single_page_content">
        <?php if(have_posts()) : while(have_posts()) : the_post(); ?>
            <div class="breadcrumbs">
                <a href="<?php bloginfo('home'); ?>">Home</a> &raquo;
                <?php $parent = $post->post_parent;
                $parent_title = get_the_title($parent);
                echo '<a href="'.get_permalink($parent) .'">' . $parent_title .('');  ?> </a> 
            </div>
            <div class="content_text">
                <p class="content_title"><?php the_title(); ?></p>
                <div class="content_info">
                    <span>
                        Đăng bởi: <?php the_author();?>&nbsp;&raquo;&nbsp;
                        Vào lúc: <?php the_time('F j, Y'); ?>&nbsp;&raquo;&nbsp;
                        Bình luận: <a href="<?php comments_link();?>"><?php comments_number('0','1','%')?></a>
                    </span>
                </div>
                <p><?php the_content(''); ?></p>
            </div>
        <?php endwhile; ?>
            <?php else: ?>
                <h1>Sorry, There are no posts to display</h1>
        <?php endif;?>
    </div>
    <div class="clear"></div>
</div>
<?php
	get_footer();
?>